package Stream;

import java.io.BufferedReader;
import java.io.FileReader;

public class read {
    public static void main(String[] args) throws Exception{
        FileReader reader = new FileReader("F:/test.txt");
        BufferedReader br = new BufferedReader(reader);
        String s = br.readLine();
        while(s!=null){
            System.out.println(s);
            s = br.readLine();
        }

    }
}
